﻿using ImperialServer.Common.Entities;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ImperialServer.Data.Interfaces
{
    public interface IRegistryAccess
    {
        bool InsertNewCitizen(CitizenEntity newCitizen);

        bool InsertNewRole(RoleEntity newRole);

        bool InsertNewSpecie(SpecieEntity newSpecie);

        bool InsertNewStatus(StatusEntity newStatus);


        DataTable SelectAllCitizens();

        DataTable SelectAllRoles();

        DataTable SelectAllSpecies();

        DataTable SelectAllStatuses();


        bool UpdateRole(RoleEntity role);

        bool UpdateStatus(StatusEntity status);

        bool UpdateSpecie(SpecieEntity specie);

        bool UpdateCitizen(CitizenEntity citizen);
    }
}
